package com.itheima.prize.commons.constant;

/**
 * @author stone
 * @Date 2024/8/19 23:26
 */
public final class RedisConstants {

    // 登录key前缀
    public static final String LOGIN_PREFIX = "login:";

    //  锁定30分钟（以秒为单位）
    public static final long LOCK_TIME_DURATION = 1500;

    // 试错次数
    public static final Integer MAX_LOGIN_ATTEMPTS = 5;

    // 初始值
    public static final  Integer INIT_NUM = 1;
}
